package com.csaba.connector.fhb.model;

import com.csaba.connector.model.Customer;

public class FHBCustomer extends Customer
{
	private static final long serialVersionUID = 6580418108628569886L;

	public FHBCustomer( final Customer customer )
	{
		super();

		//set bank
		setBank(FHBBank.getInstance());

		//copy rest of the values
		setId(customer.getId());
		setLoginId(customer.getLoginId());
		setName(customer.getName());
		setPassword(customer.getPassword());

		copyRemoteProperty(customer);
	}
}
